package dingyunchi.chap.service;

import dingyunchi.chap.entity.Sys_role;

import java.util.List;

public interface Sys_roleService {
    int saveSys_role(Sys_role sys_role);

    List<Sys_role> getAllSys_role();

    int updateSys_role(Sys_role role);

    Sys_role getSys_roleById(Integer id);

    int deleteSys_role(Integer id);

    boolean isNameExists(String name);
}
